package com.riwon.im;

import com.riwon.im.common.config.ApplicationProperties;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.context.annotation.Import;

@SpringBootApplication
@Import(ApplicationProperties.class)
public class ImApplication  {

	public static void main(String[] args) {
		SpringApplication.run(ImApplication.class, args);
	}

//	@Override
	protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
		return builder.sources(ImApplication.class);
	}
}
